<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Users extends Model
{
	//默认为类名+s
    protected $table = 'users';
    //默认主键为table.id
    protected $primaryKey = 'user_id';
    //默认每次更新数据就会更新updated_at字段,不需要可以设置为false
    public $timestamps = FALSE;
}
